package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 国家级、省部级教学成果奖对象 t_achievement
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TAchievement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 成果名称 */
    @Excel(name = "成果名称")
    private String name;

    /** 奖项类型 */
    @Excel(name = "奖项类型")
    private String goldType;

    /** 奖项等级 */
    @Excel(name = "奖项等级")
    private String goldLev;

    /** 成果完成人 */
    @Excel(name = "成果完成人")
    private String people;

    /** 单位署名次序 */
    @Excel(name = "单位署名次序")
    private String unitOrder;

    /** 完成人署名次序 */
    @Excel(name = "完成人署名次序")
    private String doneOrder;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date goldTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGoldType(String goldType) 
    {
        this.goldType = goldType;
    }

    public String getGoldType() 
    {
        return goldType;
    }
    public void setGoldLev(String goldLev) 
    {
        this.goldLev = goldLev;
    }

    public String getGoldLev() 
    {
        return goldLev;
    }
    public void setPeople(String people) 
    {
        this.people = people;
    }

    public String getPeople() 
    {
        return people;
    }
    public void setUnitOrder(String unitOrder) 
    {
        this.unitOrder = unitOrder;
    }

    public String getUnitOrder() 
    {
        return unitOrder;
    }
    public void setDoneOrder(String doneOrder) 
    {
        this.doneOrder = doneOrder;
    }

    public String getDoneOrder() 
    {
        return doneOrder;
    }
    public void setGoldTime(Date goldTime) 
    {
        this.goldTime = goldTime;
    }

    public Date getGoldTime() 
    {
        return goldTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("goldType", getGoldType())
            .append("goldLev", getGoldLev())
            .append("people", getPeople())
            .append("unitOrder", getUnitOrder())
            .append("doneOrder", getDoneOrder())
            .append("goldTime", getGoldTime())
            .toString();
    }
}
